<!DOCTYPE html>
<html>
	<head>
		<title>Admin Panel</title>
	</head>
	<body>
		<h1>Common Rooms</h1>
		<form action="/admin/commonroom" method="POST">		
			<input type="text" name="key" placeholder='room'>
			<input type="text" name="description" placeholder='description'>
			<input type="hidden" name="action" value="create">
			<input type="submit" value="Create">
		</form>
		<h1>Student Rooms</h1>
		<form action="/admin/studentroom" method="POST">		
			<input type="text" name="key" placeholder='room'>
			<input type="hidden" name="action" value="create">
			<input type="submit" value="Create">
		</form>
		<h1>Year</h1>
		<form action="/admin/year" method="POST">		
			<input type="text" name="key" placeholder='year'>
			<input type="hidden" name="action" value="create">
			<input type="submit" value="Create">
		</form>
		<h1>Person</h1>
		<form action="/admin/person" method="POST">		
			<input type="text" name="nick" placeholder='nick'>
			<input type="text" name="name" placeholder='name'>
			<input type="text" name="surname" placeholder='surname'>
			<input type="hidden" name="action" value="create">
			<label><input type="radio" name="type" value="student">Student</label>
			<label><input type="radio" name="type" value="professor">Professor</label>
			<input type="submit" value="Create">
		</form>
	</body>
</html>
